﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CSharpNetwork.Applications
{
	enum MessageType
	{
		ControlType,
		TextType
	}
	class Message
	{
		public Message(MessageType type, String sendTo,
					   String sendTime, String content)
		{
			Type = type;
			SendTo = SendTo;
			SendTime = sendTime;
			Content = content;
		}
		public MessageType Type { get; set; }
		public String SendTo { get; set; }
		public String SendTime { get; set; }
		public String Content { get; set; }
	}
}
